package com.gzy.rpsm_property.service;

import com.gzy.rpsm_property.pojo.PageResult;
import com.gzy.rpsm_property.pojo.user.User;
import com.gzy.rpsm_property.pojo.vo.UnpaidOwner;
import org.springframework.dao.DuplicateKeyException;
import com.gzy.rpsm_property.service.UserService;

public interface UserService {
    int insertUser(User user) throws DuplicateKeyException,Exception;
    int changeUserStatus(User user);

    User queryById(int id);

    PageResult<User> pageOfOwner (int current, int size);

    PageResult<UnpaidOwner> pageOfUnpaidOwnerList(Integer current, Integer size, Integer typeId);


}
